package com.mrobuy.jdvc.dao;

import java.util.List;

public interface CommonDao {

    int insert(Object record);

    int delete(Object record);

    int update(Object record);

    int update(Object record, boolean updateNull);

    int execute(String sql,  Object... params) throws Exception;

    public <T> List<T> queryList(String sql, Class<T> clz, Object... params);

}
